<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI互动导师 - AI单词</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #f9fafb;
            height: 100vh;
            margin: 0;
            padding: 0;
        }
        .app-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .nav-bar {
            height: 50px;
            background-color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        .tab-bar {
            height: 70px;
            background-color: white;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
            bottom: 0;
            width: 100%;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        }
        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #6b7280;
            font-size: 10px;
        }
        .tab-item.active {
            color: #6366f1;
        }
        .tab-icon {
            font-size: 22px;
            margin-bottom: 4px;
        }
        .content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            padding-bottom: 90px;
        }
        .tutor-selection {
            margin-bottom: 25px;
        }
        .tutor-header {
            font-weight: 600;
            color: #374151;
            margin-bottom: 15px;
            font-size: 18px;
        }
        .tutor-cards {
            display: flex;
            overflow-x: auto;
            padding-bottom: 15px;
            scroll-snap-type: x mandatory;
            gap: 15px;
        }
        .tutor-card {
            flex: 0 0 auto;
            width: 150px;
            background-color: white;
            border-radius: 16px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            scroll-snap-align: start;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        .tutor-card.selected {
            border-color: #6366f1;
            background-color: rgba(99, 102, 241, 0.05);
        }
        .tutor-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 30px;
            margin-bottom: 10px;
        }
        .tutor-name {
            font-weight: 600;
            color: #374151;
            margin-bottom: 5px;
            text-align: center;
        }
        .tutor-desc {
            font-size: 12px;
            color: #6b7280;
            text-align: center;
        }
        .chat-container {
            background-color: white;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            height: 450px;
        }
        .chat-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .chat-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 18px;
            margin-right: 10px;
        }
        .chat-name {
            font-weight: 600;
            color: #374151;
        }
        .chat-status {
            font-size: 12px;
            color: #10b981;
        }
        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 10px 0;
        }
        .message {
            margin-bottom: 15px;
            max-width: 80%;
        }
        .message-tutor {
            align-self: flex-start;
        }
        .message-user {
            align-self: flex-end;
            margin-left: auto;
        }
        .message-bubble {
            padding: 12px 15px;
            border-radius: 18px;
            font-size: 14px;
            line-height: 1.5;
        }
        .message-tutor .message-bubble {
            background-color: #f3f4f6;
            color: #4b5563;
            border-top-left-radius: 4px;
        }
        .message-user .message-bubble {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: white;
            border-top-right-radius: 4px;
        }
        .message-time {
            font-size: 10px;
            color: #9ca3af;
            margin-top: 5px;
            text-align: right;
        }
        .chat-input {
            display: flex;
            align-items: center;
            background-color: #f3f4f6;
            border-radius: 25px;
            padding: 5px 15px;
            margin-top: 15px;
        }
        .input-field {
            flex: 1;
            border: none;
            background: transparent;
            padding: 10px 0;
            outline: none;
            color: #4b5563;
        }
        .input-actions {
            display: flex;
            align-items: center;
        }
        .input-action {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #6b7280;
            margin-left: 8px;
        }
        .input-action.send {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: white;
        }
        .word-card {
            background-color: #f3f4f6;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
        }
        .word-title {
            font-size: 18px;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 5px;
        }
        .word-phonetic {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 10px;
        }
        .word-meaning {
            color: #4b5563;
            line-height: 1.5;
        }
    </style>
</head>
<body>
    <div class="app-container">
        <div class="nav-bar">
            <span class="font-semibold">AI互动导师</span>
            <i class="fas fa-ellipsis-h text-gray-600"></i>
        </div>
        
        <div class="content">
            <div class="tutor-selection">
                <div class="tutor-header">选择你的AI导师风格</div>
                
                <div class="tutor-cards" style="display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px;">
                    <div class="tutor-card selected" onclick="window.location.href='ai-tutor-chat.html?style=strict'">
                        <div class="tutor-avatar">
                            <i class="fas fa-user-tie"></i>
                        </div>
                        <div class="tutor-name">严谨教授</div>
                        <div class="tutor-desc">详细解释单词，提供例句和用法</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=funny'">
                        <div class="tutor-avatar">
                            <i class="fas fa-microphone-alt"></i>
                        </div>
                        <div class="tutor-name">幽默主播</div>
                        <div class="tutor-desc">用搞笑方式解释单词</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=kids'">
                        <div class="tutor-avatar">
                            <i class="fas fa-child"></i>
                        </div>
                        <div class="tutor-name">儿童导师</div>
                        <div class="tutor-desc">用简单语言+卡通风格教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=business'">
                        <div class="tutor-avatar">
                            <i class="fas fa-briefcase"></i>
                        </div>
                        <div class="tutor-name">商务专家</div>
                        <div class="tutor-desc">商务场景单词教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=tech'">
                        <div class="tutor-avatar">
                            <i class="fas fa-laptop-code"></i>
                        </div>
                        <div class="tutor-name">科技达人</div>
                        <div class="tutor-desc">科技领域专业词汇</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=travel'">
                        <div class="tutor-avatar">
                            <i class="fas fa-plane"></i>
                        </div>
                        <div class="tutor-name">旅行向导</div>
                        <div class="tutor-desc">旅行相关词汇教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=medical'">
                        <div class="tutor-avatar">
                            <i class="fas fa-heartbeat"></i>
                        </div>
                        <div class="tutor-name">医学专家</div>
                        <div class="tutor-desc">医学术语专业教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=law'">
                        <div class="tutor-avatar">
                            <i class="fas fa-gavel"></i>
                        </div>
                        <div class="tutor-name">法律顾问</div>
                        <div class="tutor-desc">法律术语专业教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=history'">
                        <div class="tutor-avatar">
                            <i class="fas fa-landmark"></i>
                        </div>
                        <div class="tutor-name">历史学者</div>
                        <div class="tutor-desc">历史相关词汇教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=art'">
                        <div class="tutor-avatar">
                            <i class="fas fa-palette"></i>
                        </div>
                        <div class="tutor-name">艺术导师</div>
                        <div class="tutor-desc">艺术领域专业词汇</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=science'">
                        <div class="tutor-avatar">
                            <i class="fas fa-atom"></i>
                        </div>
                        <div class="tutor-name">科学专家</div>
                        <div class="tutor-desc">科学术语专业教学</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=finance'">
                        <div class="tutor-avatar">
                            <i class="fas fa-chart-line"></i>
                        </div>
                        <div class="tutor-name">金融专家</div>
                        <div class="tutor-desc">金融领域专业词汇</div>
                    </div>
                    
                    <div class="tutor-card" onclick="window.location.href='ai-tutor-chat.html?style=cooking'">
                        <div class="tutor-avatar">
                            <i class="fas fa-utensils"></i>
                        </div>
                        <div class="tutor-name">烹饪大师</div>
                        <div class="tutor-desc">烹饪相关词汇教学</div>
                    </div>
                </div>
            </div>
            
            
        </div>
        
        <div class="tab-bar">
            <div class="tab-item" onclick="window.location.href='nft-buddy.html'">
                <i class="fas fa-dragon tab-icon"></i>
                <span>伙伴</span>
            </div>
            
            <div class="tab-item" onclick="window.location.href='word-learning.html'">
                <i class="fas fa-book tab-icon"></i>
                <span>学习</span>
            </div>
            
            <div class="tab-item active">
                <i class="fas fa-robot tab-icon"></i>
                <span>AI导师</span>
            </div>
            
            <div class="tab-item" onclick="window.location.href='story-mode.html'">
                <i class="fas fa-book-open tab-icon"></i>
                <span>故事</span>
            </div>
            
            <div class="tab-item" onclick="window.location.href='learning-report.html'">
                <i class="fas fa-chart-line tab-icon"></i>
                <span>报告</span>
            </div>
        </div>
    </div>
    
    <script>
        
    </script>
</body>
</html>